<div id="content">
<div id="play">
<div id="film_play">
    <div class="play_title"><?php echo $movie_name; ?></div>
    <div align="center" style="float: left;width: 100%;margin: 0 auto;padding: 5px 0;">
        <ul class='star-rating' id='star-rating'>
            <div id='mystar-rating'>
                <?php
                $rating = $movie_rating * 15;
                ?>
            <li class="current-rating" style="width:<?php echo $rating; ?>px"></li>
            </div>
              <li><a onclick='starRating(<?php echo $movie_id; ?>,1);' title='Tệ quá' class='one-star' style='cursor:pointer'></a></li>
               <li><a onclick='starRating(<?php echo $movie_id; ?>, 2);' title='Xem được' class='two-stars' style='cursor:pointer'></a></li>
               <li><a onclick='starRating(<?php echo $movie_id; ?>,3);' title='Cũng hay' class='three-stars' style='cursor:pointer'></a></li>
               <li><a onclick='starRating(<?php echo $movie_id; ?>,4);' title='Hay' class='four-stars' style='cursor:pointer'></a></li>
               <li><a onclick='starRating(<?php echo $movie_id; ?>,5);' title='Tuyệt vời' class='five-stars' style='cursor:pointer'></a></li>
        </ul>
        <div id="rating_thanks"></div>
    </div>
    <br><span style="float: left; text-align: center;width: 100%;padding: 5px 0;"><strong style="color:#0080FF"><?php echo $episode_name; ?></strong></span>
<embed width="528px" height="523px" type="application/x-shockwave-flash" src="<?php echo base_url(); ?>/mediaplayer/player.swf" flashvars="skin=<?php echo base_url(); ?>mediaplayer/skins/modieus.zip&amp;file=<?php echo base_url();
?>video/urllist.html&amp;playlist.size=100&amp;playlist.position=bottom&amp;repeat=list&amp;controlbar.idlehide=true&amp;stretching=uniform" allowfullscreen="true" />
    <div class="ds">
            <?php
            $stt=1;
            foreach($episodeList as $item){
                $href = base_url() . 'video/play/' . $item['episode_id'] . '/' . convertUri($item['name']) . '.html';
                if($item['name'] == $episode_name)
                    echo "<span style=\"color:white;\">" . $stt ."</span>";
                else
                    echo "<span><a style=\"text-decoration: underline;\" href=\"$href\">" . $stt ."</a></span>";
                $stt=$stt+1;
            }
            ?>
    </div>
</div>
<div id="right-content">
        <!-- phim hay khac -->
        <?php
        //film hay khac
        if(isset($differentMovies)){
            $data['movieList'] = $differentMovies;
            $this->load->view('movie/v_different',$data);
        }
        ?><!-- end phim hay khac-->
        <div class="ads">
        <div style="text-align: center">
            <div class="play_title">ADS</div>
        </div>
    </div>
</div>

</div>
<div id="vinfo_comment">
    <script type="text/javascript">
       var baseurl = "<?php echo base_url(); ?>";
            $(document).ready(function(){
                $("#cm-contents").load(baseurl+"comment/video/<?php echo $movie_id; ?>/comment.html");
            });
            function viewComment(page){
                $("#cm-contents").load(baseurl+"comment/video/<?php echo $movie_id; ?>/"+page+"/comment.html");
            }
    </script>
    <div class="cm_title">Bình luận</div>
    <div id="cm-contents"></div>
</div>
</div>
